package com.itheima.tliaswebmanagement.mapper;

import com.itheima.tliaswebmanagement.pojo.dto.StudentPageQueryDTO;
import com.itheima.tliaswebmanagement.pojo.entity.Student;
import com.itheima.tliaswebmanagement.pojo.vo.StudentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description StudentMapper
 * @Author ziguan ling
 * @Date 2025--01--20
 */
@Mapper
public interface StudentMapper {

    List<StudentVO> studentListQuery_d(StudentPageQueryDTO studentPageQueryDTO);

    void addStudent_d(Student student);

    StudentVO queryById_d(Integer id);

    void updateStudent_d(Student student);

    void removeBatchStudent_d(List<Integer> ids);

    void violation_d(Integer id, Integer score);
}
